package com.tanhua.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: cuixu
 * @Description: 类内容说明
 * @Date: Created in 10:35 2021/1/17
 * @ModifiedBy:
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Administrator implements Serializable {

    //id
    private long uid;
    //用户(管理员)名
    private String username;
    //密码
    @JsonIgnore
    private String password;
    //头像
    private String avatar;
    //token
    @TableField(exist = false)
    private String token;

}
